exports.serverPort = 5301;

exports.mongoUrl = "mongodb://localhost:27017/forum";
exports.serverJadePath = "/Users/mada/projects/ServerProject/forum/dist/server/jade";

exports.uploadPath = "/Users/mada/Resources/img/";

exports.account = {
    server: "http://account.wpax.cn/",
    clientName: 'Shop',
    clientKey: 'fg23by2fegagagn8b3n1gtga2wg',
    notifyKey: '3t27aweg8bif1ng1ag323heighe'
};

exports.sessionExpireAtServer = 1000 * 60 * 60 * 4;
exports.cookieKey = 'hiawgeohageguag390awtinaiageogeoawgtGhawgawpge';

exports.mysql = {
    host: 'localhost',
    user: 'root',
    password: '',
    database: 'shop'
};

exports.accountMongoUrl = "mongodb://localhost:27017/wpaxaccount";

exports.myHost = "http://localhost/";

exports.javaServiceUrl = "http://localhost:9302/";


exports.pay = {
    union: {
        merchantId: '777290058117346',
        frontCallbackUrl: 'http://shop.wpax.cn/v/pay/callback/union',
        backCallbackUrl: 'http://shop.wpax.cn/pay/callback/union',
        frontTransUrl: 'https://101.231.204.80:5000/gateway/api/frontTransReq.do'
    },
    weinxin: {
        APP_ID: 'wxab3c8ac0cb661f33', // 是微信支付API秘钥，不是Oauth2的秘钥，要在pay.weixin.qq.com设置
        mch_id: '1264134401',
        APISecret: 'Shanghaixiongjwangluojishuyxgs12'
    }
};

exports.log = {
    all: __dirname + "/log/app.user.log",
    user: __dirname + "/log/app.user.log",
    system: __dirname + "/log/app.system.log"
};
